<!DOCTYPE html>
<html>
	<head>
			<meta charset="UTF-8">
		<title></title>
		<link rel="shortcut icon" href="./Public/Home/images/favicon.ico" type="image/x-icon">
		<link rel="stylesheet" type="text/css" href="./Public/Home/css/list.css"/>
		<link rel="stylesheet" type="text/css" href="./Public/Home/css/product.css"/>
		<link rel="stylesheet" type="text/css" href="./Public/Home/css/shoppingcart.css"/>
		<link rel="stylesheet" type="text/css" href="./Public/Home/css/my-center.css"/>
		<link rel="stylesheet" type="text/css" href="./Public/Home/css/dingdan.css"/>
		<link rel="stylesheet" type="text/css" href="./Public/Home/css/addressList.css"/>
		
		
		
		<script src="./Public/jquery-1.8.2.min.js" type="text/javascript" charset="utf-8"></script>
		<script src="./Public/Home/js/details.js" type="text/javascript" charset="utf-8"></script>
		<script src="./Public/Home/js/area.js" type="text/javascript" charset="utf-8"></script>
		<script src="./Public/Home/js/list.js" type="text/javascript" charset="utf-8"></script>
		<script src="./Public/Home/js/cart.js" type="text/javascript" charset="utf-8"></script>
		<script src="./Public/Home/js/address.js" type="text/javascript" charset="utf-8"></script>
	</head>
	<body>
		
		<!--顶部部分开始包括最顶部和搜索-->
		<div id="header">
			<div class="header1">
				<div class="header1in">
					<ul class="headerul1">
						<li class=""><a href="">400-187-6777</a></li>
						<li class=""><a href="">在线客服</a></li>
						<li class=""><a href="">关注我们</a></li>
						<li class=""><a href="">新浪微博</a></li>
						<li class=""><a href="">手机客户端</a></li>
					</ul>
					<ul class="headerul2">
						<li class=""><a href="">签到</a></li>
						<!--开始没有加isset 退出的时候会 显示未定义$_SESSION['userid']。。。所以要加isset存在的时候返回真，不存在返回假-->
						                
						<li class=""><a href="http://127.0.0.1/homework/liulongwei-5.23-ygqq/index.php?m=Home&c=center&a=index">123</a></li>
						<li class=""><a href="http://127.0.0.1/homework/liulongwei-5.23-ygqq/index.php?m=Home&c=login&a=out">退出</a></li>
						<li class=""><a href="http://127.0.0.1/homework/liulongwei-5.23-ygqq/index.php?m=Home&c=center&a=index">我的云购全球</a></li>
												<li class=""><a href="">充值</a></li>
						<li class=""><a href="">帮助</a></li>
					</ul>
				</div>
			</div>
			<div class="header2">
				<a class="header_logo" href="">
					<img src="./Public/Home/images/logo.png" alt="" />
				</a>
				<div class="search_header2">
					<span></span>
					<input placeholder="搜索您需要的商品" value="" id="q" type="text">
					<a href="" class="btnHSearch">搜索</a>
				</div>
			</div>
		</div>
		<!--导航 start-->
		<div id="navAll">
			<div class="nav">
				<div class="pullDown">
					<h4 class="pullDownTitle"><a href="http://127.0.0.1/homework/liulongwei-5.23-ygqq/index.php?m=Home&c=List&a=index&cid=0">所有商品分类</a></h4>
					<ul class="pullDownList">
																		<li>
							<i>
								<img src="./Public/Home/images/index_icon_nav_111.png" alt="" />
							</i>
							<a href="http://127.0.0.1/homework/liulongwei-5.23-ygqq/index.php?m=Home&c=List&a=index&cid=9">
								奢侈品区							</a>
							<span>></span>
						</li>
												<li>
							<i>
								<img src="./Public/Home/images/index_icon_nav_112.png" alt="" />
							</i>
							<a href="http://127.0.0.1/homework/liulongwei-5.23-ygqq/index.php?m=Home&c=List&a=index&cid=10">
								汽车专区							</a>
							<span>></span>
						</li>
												<li>
							<i>
								<img src="./Public/Home/images/index_icon_nav_113.png" alt="" />
							</i>
							<a href="http://127.0.0.1/homework/liulongwei-5.23-ygqq/index.php?m=Home&c=List&a=index&cid=11">
								手机数码							</a>
							<span>></span>
						</li>
												<li>
							<i>
								<img src="./Public/Home/images/index_icon_nav_114.png" alt="" />
							</i>
							<a href="http://127.0.0.1/homework/liulongwei-5.23-ygqq/index.php?m=Home&c=List&a=index&cid=12">
								家用电器							</a>
							<span>></span>
						</li>
												<li>
							<i>
								<img src="./Public/Home/images/index_icon_nav_115.png" alt="" />
							</i>
							<a href="http://127.0.0.1/homework/liulongwei-5.23-ygqq/index.php?m=Home&c=List&a=index&cid=13">
								金银珠宝							</a>
							<span>></span>
						</li>
												<li>
							<i>
								<img src="./Public/Home/images/index_icon_nav_116.png" alt="" />
							</i>
							<a href="http://127.0.0.1/homework/liulongwei-5.23-ygqq/index.php?m=Home&c=List&a=index&cid=14">
								云购超市							</a>
							<span>></span>
						</li>
												<li>
							<i>
								<img src="./Public/Home/images/index_icon_nav_117.png" alt="" />
							</i>
							<a href="http://127.0.0.1/homework/liulongwei-5.23-ygqq/index.php?m=Home&c=List&a=index&cid=15">
								服饰百货							</a>
							<span>></span>
						</li>
												<li>
							<i>
								<img src="./Public/Home/images/index_icon_nav_118.png" alt="" />
							</i>
							<a href="http://127.0.0.1/homework/liulongwei-5.23-ygqq/index.php?m=Home&c=List&a=index&cid=16">
								其他商品							</a>
							<span>></span>
						</li>
												<!--<li>
							<i>
								<img src="./Public/Home/images/index_icon_nav_112.png" alt="" />
							</i>
							<a href="">
								奢侈品区
							</a>
							<span>></span>
						</li>
						<li>
							<i>
								<img src="./Public/Home/images/index_icon_nav_113.png" alt="" />
							</i>
							<a href="">
								奢侈品区
							</a>
							<span>></span>
						</li>
						<li>
							<i>
								<img src="./Public/Home/images/index_icon_nav_114.png" alt="" />
							</i>
							<a href="">
								奢侈品区
							</a>
							<span>></span>
						</li>
						<li>
							<i>
								<img src="./Public/Home/images/index_icon_nav_115.png" alt="" />
							</i>
							<a href="">
								奢侈品区
							</a>
							<span>></span>
						</li>
						<li>
							<i>
								<img src="./Public/Home/images/index_icon_nav_116.png" alt="" />
							</i>
							<a href="">
								奢侈品区
							</a>
							<span>></span>
						</li>
						<li>
							<i>
								<img src="./Public/Home/images/index_icon_nav_117.png" alt="" />
							</i>
							<a href="">
								奢侈品区
							</a>
							<span>></span>
						</li>
						<li>
							<i>
								<img src="./Public/Home/images/index_icon_nav_118.png" alt="" />
							</i>
							<a href="">
								奢侈品区
							</a>
							<span>></span>
						</li>-->
					</ul>
				</div>
				<ul class="menu">
					<li><a class="menu_first_li" href="http://127.0.0.1/homework/liulongwei-5.23-ygqq/index.php?m=Home&c=index&a=index">首页</a><em>/</em></li>
					<li><a href="">十元</a><em>/</em></li>
					<li><a href="">百元</a><em>/</em></li>
					<li><a href="">限购</a><em>/</em></li>
					<li><a href="">揭晓</a><em>/</em></li>
					<li><a href="">晒单</a><em>/</em></li>
					<li><a href="">新手</a><em>/</em></li>
					<li><a href="">视频</a><em>/</em></li>
					<li><a href="">理财</a><em>/</em></li>
				</ul>
			</div>
		</div>
		<!--导航 end-->
		<!--导航 end-->
		
		<!--我的购物车部分开始-->
		<div id="c_my_cart">
			<div class="c_shop_bag">
			<div id="cart_box">
				
				
				<h4 id="h4">我的购物车</h4>
				<?php if($goodsData){?>
                
				<div id="goods_data">
					<div class="catbox c_goods_info">
						<div class="cartTable">
							<ul class="cartTable_ul_top">
									<li class="c_goods_text">商品</li>
									<li class="shengyu">剩余人次</li>
									<li class="duobao">夺宝人次</li>
									<li class="qishu">参与期数</li>
									<li class="xiaoji">小计</li>
									<li class="caozuo">操作</li>
							</ul>
							<?php foreach ($goodsData as $k=>$v){?>
							<!--<?php sp($goodsData); ?>-->
							<ul class="cartTable_ul_list">
								<li class="checkbox"><input type="checkbox" /></li>
								<li class="goods">
									<a href=""><img style="width: 100px;height: 80px;" src="<?php echo $v['pic']?>" alt="" /></a>
									<span><!--<em>十元专区</em>--><a href="<?php echo U('Details/index',array('gid'=>$v['id']))?>" class="title_0"><?php echo $v['name']?></a></span>
									<b class="c_goods_price">总需<i><?php echo $v['price']?></i>人次参与，还剩<i>100</i>人次</b>
								</li>
								<li class="price w_price">100</li>
								<li class="count">
									<div class="w_one_new">
										<span class="span_subtract">-</span>
										<input class="count-input" type="text" value="<?php echo $v['num']?>"/>
										<span class="span_add">+</span>
									</div>
								</li>
								<li class="w_one">
									<div class="w_one_new">
										<span>-</span>
										<input class="count-input1" type="text" value="1"/>
										<span>+</span>
									</div>
								</li>
								<!--<li class="subtotal"><?php echo $v['total']?></li>-->
								<li class="subtotal"><?php echo $v['num']?></li>
								<li class="operation"><span num="<?php echo $k?>">删除</span></li>
							</ul>
							<!--购物车中商品id-->
							<input class="cart_gid" type="hidden" name="id" value="<?php echo $v['id']?>"/>
							<?php }?>
						</div>
					</div>
					<div class="c_total c_order_total">
						<label class="fl select-all"><input id="SelectAll" onclick="actionSelectAll()" class="check-all check" checked="" type="checkbox">&nbsp;全选</label>
						<a class="fl delete" id="deleteAll" href="javascript:actionDeleteAll();">删除</a>
						<div class="fr total">
							<span class="c_total_text">支付总额：</span>
							<span id="priceTotal"><?php echo $data['total_rows']?></span>
							<span class="c_total_text">夺宝币</span>
						</div>
						<div class="w_popup_window" style="float:right;margin-right:12px;bottom:5px;right:0px;position:absolute;">
					现在可以一次参与多期奖品哦
							<a href="">详情</a>
							
						</div>
					</div>
					<div class="c_user_reduce" id="redDiv">
						 	<input id="red" class="order_checkbox" type="checkbox"> 使用红包抵消部分金额
							<div id="redTips" style="position:absolute;left: 328px;top: 1px;color: #dd2726;display:none;">购物卡结算不能使用红包</div>
							<div class="c_order_select" style="">
								<div class="select_box selectBox">
									<div class="select_showbox selectDiv" style="cursor: pointer;">暂无可用红包</div>
								</div>
							</div>
					</div>
					<div class="c_user_reduce_box">
						<div class="c_user_reduce" style="border: none;">
						<input id="card" class="order_checkbox" type="checkbox">
						使用购物卡余额支付，购物卡余额：
						<span id="cardMoney">0</span>夺宝币
							<i id="cardTips" style="margin-left:20px;color: #dd2726;display:none;">红包结算不能使用购物卡</i>
						</div>
					</div>
					<div class="c_user_reduce_box">
						<div class="c_user_reduce" style="border: none;">
						<input id="money" class="order_checkbox" type="checkbox">
						使用账户余额支付，账户余额：<span id="userMoney"><?php echo $userData[0]['sum']?></span>夺宝币&nbsp;(小数位不参与计算)</div>
					</div>
					 <!--account 账户  enough 足够-->
					<div class="c_account_enougth">
						<div class="c_account_yue">
							<div class="yue_left">若账户余额不足，请选择以下方式完成支付</div>
							<div class="yue_right">使用微信支付<span><?php echo $data['total_rows']?></span>夺宝币</div>
						</div>
						<div class="c_account_zhifufangshi">
							<ul>
								<li class="zhifu_fangshi">支付方式 :</li>
								<li class="zhifu_wx"><a href="">微信支付</a><span></span></li>
								<li class="zhifu_jd"><a href="">京东支付</a><span></span></li>
								<li class="zhifu_wangyin"><a href="">网银支付</a><span></span></li>
								<li class="zhifu_xinyongka"><a href="">信用卡支付</a><span></span></li>
							</ul>
						</div>
						<div class="c_account_fuwu">
							<input type="checkbox" />
							<b>我已阅读并同意</b>
							<i>《服务协议》</i>
						</div>
						<div class="c_account_querenzhifu"><a href="javascript:;">确认支付</a></div>
						<div class="c_account_wenti">
							 	<p>付款遇到问题:</p>
								<p>1、如您未开通网上银行，即可以使用储蓄卡快捷支付轻松完成付款；</p>
								<p>2、如果银行卡已经扣款，但您的账户中没有显示，有可能因为网络原因导致，请及时联系客服400-187-6777。</p>
						</div>
					</div>
				</div>
				<?php }else{?>
				<div class="c_no_goods" id="null" style="">
					<div class="c_no_right y_no_left">
						<img src="./Public/Home/images/shop_bag_no.png">
						
					</div>
					<div class="c_no_left y_no_right">
						<p>你的购物车还是空的赶紧行动吧！</p>
						<a href="<?php echo U('list/index')?>" class="c_quick_shop" hidefocus="">马上去购物</a>
					</div>
				</div>
				
               <?php }?>
				</div>
			</div>
		</div>
		<!--我的购物车部分结束-->
		
		
		<!--最底层部分开始-->
		<!--最底层部分开始-->
		<div id="foot">
			<ul class="footIn">
				<li><img src="images/gongping.png" alt="" /></li>
				<li><img src="images/gongping.png" alt="" /></li>
				<li><img src="images/gongping.png" alt="" /></li>
				<li><img src="images/gongping.png" alt="" /></li>
			</ul>
			<div class="footSupport">
				<div class="footSupport_in">
					<div class="footSupport_in_left">
						<dl>
							<dt>新手指南</dt>
							<dd><a href="">购物指南</a></dd>
							<dd><a href="">常见问题</a></dd>
							<dd><a href="">服务协议</a></dd>
						</dl>
						<dl>
							<dt>服务支持</dt>
							<dd><a href="">保障体系</a></dd>
							<dd><a href="">风险提示</a></dd>
							<dd><a href="">安全支付</a></dd>
						</dl>
						<dl>
							<dt>商品配送</dt>
							<dd><a href="">配送费用</a></dd>
							<dd><a href="">验货签收</a></dd>
							<dd><a href="">会员福利</a></dd>
						</dl>
						<dl>
							<dt>关于我们</dt>
							<dd><a href="">了解我们</a></dd>
							<dd><a href="">联系我们</a></dd>
							<dd><a href="">诚聘英才</a></dd>
						</dl>
						
					</div>
					<dl class="foot_time">
						<dd title="服务热线" style="background:url(./Public/Home/images/phone.png) no-repeat 0px 5px;margin-top: 29px;">400-187-6777</dd>
						<dd title="服务器时间" style="background:url(./Public/Home/images/time.png) no-repeat 0px 6px;background-size:21px;margin-top: 15px;" class="sysTime">08:59:09</dd>
					</dl>
					
					
					
					
					<dl class="foot_last">
						<a href="javascript:void(0);">
							<dd class="dlLast-WeChat">
								<div class="y-popover">
									<!--<span class="y-arrow"></span>
									<b>云购全球官方微信</b>
									<img src="/clienty.png" alt="">-->
								</div>
							</dd>
						</a>
						<a href="javascript:void(0);">
							<dd class="dlLast-Sina">
								<div class="y-popover">
									<!--<span class="y-arrow"></span>
									<b>云购全球新浪微博</b>
									<img src="/cloud_xx.jpg" alt="">-->
								</div>
							</dd>
						</a>
						<a href="javascript:void(0);">
							<dd class="dlLast-apple">
								 <div class="y-popover">
									<!--<span class="y-arrow"></span>
									<b>扫二维码下载</b>
									<img src="/android_app.png" alt="">-->
								</div> 
							</dd>
						</a>
						<a href="javascript:void(0);">
							<dd class="dlLast-Android">
								 <div class="y-popover">
									<!--<span class="y-arrow"></span>
									<b>扫二维码下载</b>
									<img src="/cloud_kik.png" alt="">-->
								</div>
							</dd>
						</a>
					</dl>
				</div>
				<div class="footer-time-list">
					<div class="yFootBottomLeft">	  
				  山西云购电子商务有限公司版权所有  © 2016  ICP证晋ICP备15005633号-1
					</div>
					<div class="yFootBottomRight">
						<a href=""><img src="images/bottom_small_img.png" alt="" /></a>
						<a href=""><img src="images/bottom_small_img.png" alt="" /></a>
						<a href=""><img src="images/bottom_small_img.png" alt="" /></a>
						<a href=""><img src="images/bottom_small_img.png" alt="" /></a>
						<a href=""><img src="images/bottom_small_img.png" alt="" /></a>
						<a href=""><img src="images/bottom_small_img.png" alt="" /></a>
						<a href=""><img src="images/bottom_small_img.png" alt="" /></a>
					</div>
				</div>
			</div>
			<div class="footBottom">
				<div class="footBottomInFriend" style="clear: both;">
					<p>友情链接：
						<a href="">晋商贷</a> |
						<a href="">大德通科技</a> |
						<a href="">大德通集团</a> |
						<a href="">车来车网</a> |
						<a href="">人人天使</a> |
						<a href="">金融谷</a> |
						<a href="">晋商贷学院</a>
					</p>
				</div>
			</div>
		</div>
		<!--最底层部分结束-->
		<!--最底层部分结束-->
	</body>
</html>
